home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / BACKUP / WHOA100.ZIP;1 / WHOA.DOC < prev    next >
Encoding:
Text File  |  1993-02-07  |  4.0 KB  |  111 lines

  1.                          WHOA.EXE  v 1.0
  2.                 A Batch File Enhancement Utility
  3.  
  4.      There are many occasions where we want to delay or abort a
  5.      batch file before it finishes.  The classic way to get out of
  6.      one is to press CTRL-C and look for DOS's 'Terminate Batch File
  7.      (Y/N) command.
  8.  
  9.      WHOA is a simple but useful batch file utility to add a delay
  10.      and to offer the option of either kicking out of the batch
  11.      file to DOS, or skipping the delay entirely and continuing with
  12.      the process.
  13.  
  14.      It also displays a command-line defined text string so the user
  15.      can see which function the batch file is about to perform.
  16.  
  17.      This is valuable in tracking the progress of Batch files, and
  18.      insuring they are interrupted at the right point.
  19.  
  20.      To use WHOA:
  21.  
  22.      Simply install WHOA.EXE in any location on your drive where it
  23.      can be found by the PATH statement.
  24.  
  25.      WHOA uses two parameters,  the amount of the delay in seconds,
  26.      and the text string to be displayed:
  27.  
  28.      You would enter "WHOA XX FUNCTION" into your batch file, where:
  29.  
  30.      xx = The number of seconds to delay the batch file, and
  31.      FUNCTION is the text string.
  32.  
  33.      ⁄ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒø
  34.      ≥ 'xx' can range from 02 to 999 seconds.  In any case, the value  ≥
  35.      ≥ must have at least two digits.                                  ≥
  36.      ¿ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒŸ
  37.  
  38.      (FUNCTION is limited to 20 characters. If it exceeds that,
  39.      the display will simply indicate that it will:
  40.      'Continue the Batch File'
  41.  
  42.      For Example,
  43.  
  44.      WHOA 30 Restart Network
  45.  
  46.      would present the following display:
  47.  
  48.  
  49.              €flflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflfl€
  50.              €                                  €
  51.              €   Press <ESC> to abort to DOS    €
  52.              €  Or <ENTER> to Restart Network   €
  53.              €                                  €
  54.              €   Time to Auto-Execute:  - 30 -  €
  55.              €                                  €
  56.              flflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflflfl
  57.  
  58.  
  59.      The number of seconds would count down until it reached
  60.      zero, and then WHOA would return to DOS with an errorlevel
  61.      of 0.    If WHOA is terminated with the <ESC> key,  it
  62.      returns an errorlevel of 1.
  63.  
  64.      A sample batch file to use WHOA would be:
  65.  
  66.      REM:  Auto Server Backup
  67.      CLS
  68.      WHOA 20 Backup Server
  69.      IF ERRORLEVEL 1 GOTO QUIT
  70.      BACKUP C:\  /auto /alldirs /etc,etc
  71.      :QUIT
  72.      CLS
  73.  
  74.     This would start the backup program after either 20 seconds
  75.     had passed, or the <ENTER> key was pressed.
  76.  
  77.     If the <ESC> key was pressed, the batch file would clear the
  78.     screen and dump to DOS.
  79.  
  80.    ’ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕ∏
  81.    ≥  For a quick idea of how it works, drop to DOS and type TEST.  ≥
  82.    ≥  This will quickly demonstrate WHOA's operation.               ≥
  83.    ‘ÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕÕæ
  84.  
  85.     WHOA was written by Mike Callaghan, and may not be modified
  86.     without his permission.
  87.  
  88.     The support system for WHOA is Hottips, Glendale, CA.
  89.                   (818) 248-3088 w/ 5 nodes.
  90.         The BBS is PC-Pursuitable through outnode CAGLE
  91.  
  92.     To register the program, and receive a personalized copy displaying
  93.     the registration during the countdown, you may call Hottips and
  94.     fill out Questionnaire # 3 from the Main Menu.    I accept both
  95.     VISA and Mastercard.   I will encode a personalized version of
  96.     the program and make it available for you to download....
  97.  
  98.     Or, you may send in the enclosed Registration Form.
  99.     This costs a little more because I'll have to mail you a
  100.     disk.
  101.  
  102.     BBS Registration cost is $ 5.  Mail Registration is $ 7.50.
  103.     A bargain, barely the cost of processing the file.
  104.  
  105.     I just want to see if Shareware works...
  106.  
  107. 02/07/92        1.0
  108.  
  109.  
  110.  
  111.